package com.zerui.manager.operationrecord.domainservice;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zerui.manager.operationrecord.OperationRecord;
import com.zerui.manager.operationrecord.gateway.OperationRecordGateWay;
import com.zerui.manager.web.cmd.OperationRecordCmd;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Author wh
 * @create_time 2023-09-02 15:28
 */
@Component
public class OperationRecordRepository {

	@Resource
	private OperationRecordGateWay operationRecordGateWay;

	public Page<OperationRecord> getPageList(OperationRecordCmd operationRecordCmd) {
		return operationRecordGateWay.getPageList(operationRecordCmd);
	}
}
